home *** CD-ROM | disk | FTP | other *** search
- AMAX(3F) Last changed: 11-2-98
-
-
- NNAAMMEE
- IISSAAMMAAXX, IIDDAAMMAAXX, IICCAAMMAAXX, IIZZAAMMAAXX - Searches a vector for the first
- occurrence of the maximum absolute value
-
- SSYYNNOOPPSSIISS
- Real
-
- _i_n_d_e_x = IISSAAMMAAXX ((_n,, _x,, _i_n_c_x))
-
- Double precision
-
- _i_n_d_e_x = IIDDAAMMAAXX ((_n,, _x,, _i_n_c_x))
-
- Complex
-
- _i_n_d_e_x = IICCAAMMAAXX ((_n,, _x,, _i_n_c_x))
-
- Double complex
-
- _i_n_d_e_x = IIZZAAMMAAXX ((_n,, _x,, _i_n_c_x))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- IRIX systems
-
- DDEESSCCRRIIPPTTIIOONN
- IISSAAMMAAXX/IIDDAAMMAAXX searches a real vector for the first occurrence of the
- maximum absolute value.
-
- IICCAAMMAAXX/IIZZAAMMAAXX searches a complex vector for the first occurrence of
- the maximum absolute value.
-
- IISSAAMMAAXX returns the first index _i such that
-
- |_x | = MMAAXX |_x | : _j = 1, ..., _n
- _i _j
-
- where _x is an element of a real vector.
- _j
-
- IICCAAMMAAXX determines the first index _i such that
-
- ||_R_e_a_l(_x )|+ |_I_m_a_g(_x ) | =
- _i _i
-
- MMAAXX(|_R_e_a_l(_x )| + | _I_m_a_g(_x )|): _j = 1, ..., _n
- _j _j
- where _x is an element of a complex vector.
- _j
-
- These functions have the following arguments:
-
- _i_n_d_e_x Integer. (output)
- First index of maximum absolute value.
-
- _n Integer. (input)
- Number of elements to process in the vector to be searched. If
- _n <= 0, these routines return 0.
-
- _x Array of dimension (_n-1) * |_i_n_c_x|+1. (input)
- IISSAAMMAAXX: Real array.
- IIDDAAMMAAXX: Double precision array.
- IICCAAMMAAXX: Complex array.
- IIZZAAMMAAXX: Double complex array.
-
- Array _x contains the vector to be searched.
-
- _i_n_c_x Integer. (input)
- Increment between elements of _x.
-
- NNOOTTEESS
- When scanning backward (_i_n_c_x < 0), each routine starts at the end of
- the vector and moves backward, as follows:
-
- _x(1-_i_n_c_x * (_n-1)), _x(1-_i_n_c_x * (_n-2)), ..., _x(1)
-
- The largest absolute value is:
-
- AABBSS (_x(1+(_i_n_d_e_x-1) * _i_n_c_x)) when _i_n_c_x > 0
-
- AABBSS (_x(1+(_n-_i_n_d_e_x) * |_i_n_c_x|)) when _i_n_c_x < 0
-
- These routines are Level 1 Basic Linear Algebra Subprograms (Level 1
- BLAS).
-
- SSEEEE AALLSSOO
- This man page is available only online.
-